package com.demo.pojo;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;


/**
 * @ClassName User
 * @Description TODO
 * @Author Windy
 * @Date 2022/9/16 19:37
 * @Version 1.0
 **/
@Data
@Entity
@Table(name = "user")
public class User {
    @Id
    private int id;
    private String name;
    private String pwd;
    private String mail;
    @Transient
    private String code;
}
